package com.lkwlw.tplms.model;

import java.util.ArrayList;
import java.util.List;

public class TransShipmentStationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TransShipmentStationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andStationNameIsNull() {
            addCriterion("station_name is null");
            return (Criteria) this;
        }

        public Criteria andStationNameIsNotNull() {
            addCriterion("station_name is not null");
            return (Criteria) this;
        }

        public Criteria andStationNameEqualTo(String value) {
            addCriterion("station_name =", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameNotEqualTo(String value) {
            addCriterion("station_name <>", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameGreaterThan(String value) {
            addCriterion("station_name >", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameGreaterThanOrEqualTo(String value) {
            addCriterion("station_name >=", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameLessThan(String value) {
            addCriterion("station_name <", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameLessThanOrEqualTo(String value) {
            addCriterion("station_name <=", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameLike(String value) {
            addCriterion("station_name like", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameNotLike(String value) {
            addCriterion("station_name not like", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameIn(List<String> values) {
            addCriterion("station_name in", values, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameNotIn(List<String> values) {
            addCriterion("station_name not in", values, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameBetween(String value1, String value2) {
            addCriterion("station_name between", value1, value2, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameNotBetween(String value1, String value2) {
            addCriterion("station_name not between", value1, value2, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationAdminIsNull() {
            addCriterion("station_admin is null");
            return (Criteria) this;
        }

        public Criteria andStationAdminIsNotNull() {
            addCriterion("station_admin is not null");
            return (Criteria) this;
        }

        public Criteria andStationAdminEqualTo(String value) {
            addCriterion("station_admin =", value, "stationAdmin");
            return (Criteria) this;
        }

        public Criteria andStationAdminNotEqualTo(String value) {
            addCriterion("station_admin <>", value, "stationAdmin");
            return (Criteria) this;
        }

        public Criteria andStationAdminGreaterThan(String value) {
            addCriterion("station_admin >", value, "stationAdmin");
            return (Criteria) this;
        }

        public Criteria andStationAdminGreaterThanOrEqualTo(String value) {
            addCriterion("station_admin >=", value, "stationAdmin");
            return (Criteria) this;
        }

        public Criteria andStationAdminLessThan(String value) {
            addCriterion("station_admin <", value, "stationAdmin");
            return (Criteria) this;
        }

        public Criteria andStationAdminLessThanOrEqualTo(String value) {
            addCriterion("station_admin <=", value, "stationAdmin");
            return (Criteria) this;
        }

        public Criteria andStationAdminLike(String value) {
            addCriterion("station_admin like", value, "stationAdmin");
            return (Criteria) this;
        }

        public Criteria andStationAdminNotLike(String value) {
            addCriterion("station_admin not like", value, "stationAdmin");
            return (Criteria) this;
        }

        public Criteria andStationAdminIn(List<String> values) {
            addCriterion("station_admin in", values, "stationAdmin");
            return (Criteria) this;
        }

        public Criteria andStationAdminNotIn(List<String> values) {
            addCriterion("station_admin not in", values, "stationAdmin");
            return (Criteria) this;
        }

        public Criteria andStationAdminBetween(String value1, String value2) {
            addCriterion("station_admin between", value1, value2, "stationAdmin");
            return (Criteria) this;
        }

        public Criteria andStationAdminNotBetween(String value1, String value2) {
            addCriterion("station_admin not between", value1, value2, "stationAdmin");
            return (Criteria) this;
        }

        public Criteria andStationAdminIdIsNull() {
            addCriterion("station_adminid is null");
            return (Criteria) this;
        }

        public Criteria andStationAdminIdIsNotNull() {
            addCriterion("station_adminid is not null");
            return (Criteria) this;
        }

        public Criteria andStationAdminIdEqualTo(Integer value) {
            addCriterion("station_adminid =", value, "stationAdminId");
            return (Criteria) this;
        }

        public Criteria andStationAdminIdNotEqualTo(Integer value) {
            addCriterion("station_adminid <>", value, "stationAdminId");
            return (Criteria) this;
        }

        public Criteria andStationAdminIdGreaterThan(Integer value) {
            addCriterion("station_adminid >", value, "stationAdminId");
            return (Criteria) this;
        }

        public Criteria andStationAdminIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("station_adminid >=", value, "stationAdminId");
            return (Criteria) this;
        }

        public Criteria andStationAdminIdLessThan(Integer value) {
            addCriterion("station_adminid <", value, "stationAdminId");
            return (Criteria) this;
        }

        public Criteria andStationAdminIdLessThanOrEqualTo(Integer value) {
            addCriterion("station_adminid <=", value, "stationAdminId");
            return (Criteria) this;
        }

        public Criteria andStationAdminIdIn(List<Integer> values) {
            addCriterion("station_adminid in", values, "stationAdminId");
            return (Criteria) this;
        }

        public Criteria andStationAdminIdNotIn(List<Integer> values) {
            addCriterion("station_adminid not in", values, "stationAdminId");
            return (Criteria) this;
        }

        public Criteria andStationAdminIdBetween(Integer value1, Integer value2) {
            addCriterion("station_adminid between", value1, value2, "stationAdminId");
            return (Criteria) this;
        }

        public Criteria andStationAdminIdNotBetween(Integer value1, Integer value2) {
            addCriterion("station_adminid not between", value1, value2, "stationAdminId");
            return (Criteria) this;
        }

        public Criteria andStationTypeIsNull() {
            addCriterion("station_type is null");
            return (Criteria) this;
        }

        public Criteria andStationTypeIsNotNull() {
            addCriterion("station_type is not null");
            return (Criteria) this;
        }

        public Criteria andStationTypeEqualTo(String value) {
            addCriterion("station_type =", value, "stationType");
            return (Criteria) this;
        }

        public Criteria andStationTypeNotEqualTo(String value) {
            addCriterion("station_type <>", value, "stationType");
            return (Criteria) this;
        }

        public Criteria andStationTypeGreaterThan(String value) {
            addCriterion("station_type >", value, "stationType");
            return (Criteria) this;
        }

        public Criteria andStationTypeGreaterThanOrEqualTo(String value) {
            addCriterion("station_type >=", value, "stationType");
            return (Criteria) this;
        }

        public Criteria andStationTypeLessThan(String value) {
            addCriterion("station_type <", value, "stationType");
            return (Criteria) this;
        }

        public Criteria andStationTypeLessThanOrEqualTo(String value) {
            addCriterion("station_type <=", value, "stationType");
            return (Criteria) this;
        }

        public Criteria andStationTypeLike(String value) {
            addCriterion("station_type like", value, "stationType");
            return (Criteria) this;
        }

        public Criteria andStationTypeNotLike(String value) {
            addCriterion("station_type not like", value, "stationType");
            return (Criteria) this;
        }

        public Criteria andStationTypeIn(List<String> values) {
            addCriterion("station_type in", values, "stationType");
            return (Criteria) this;
        }

        public Criteria andStationTypeNotIn(List<String> values) {
            addCriterion("station_type not in", values, "stationType");
            return (Criteria) this;
        }

        public Criteria andStationTypeBetween(String value1, String value2) {
            addCriterion("station_type between", value1, value2, "stationType");
            return (Criteria) this;
        }

        public Criteria andStationTypeNotBetween(String value1, String value2) {
            addCriterion("station_type not between", value1, value2, "stationType");
            return (Criteria) this;
        }

        public Criteria andStationAreaIsNull() {
            addCriterion("station_area is null");
            return (Criteria) this;
        }

        public Criteria andStationAreaIsNotNull() {
            addCriterion("station_area is not null");
            return (Criteria) this;
        }

        public Criteria andStationAreaEqualTo(String value) {
            addCriterion("station_area =", value, "stationArea");
            return (Criteria) this;
        }

        public Criteria andStationAreaNotEqualTo(String value) {
            addCriterion("station_area <>", value, "stationArea");
            return (Criteria) this;
        }

        public Criteria andStationAreaGreaterThan(String value) {
            addCriterion("station_area >", value, "stationArea");
            return (Criteria) this;
        }

        public Criteria andStationAreaGreaterThanOrEqualTo(String value) {
            addCriterion("station_area >=", value, "stationArea");
            return (Criteria) this;
        }

        public Criteria andStationAreaLessThan(String value) {
            addCriterion("station_area <", value, "stationArea");
            return (Criteria) this;
        }

        public Criteria andStationAreaLessThanOrEqualTo(String value) {
            addCriterion("station_area <=", value, "stationArea");
            return (Criteria) this;
        }

        public Criteria andStationAreaLike(String value) {
            addCriterion("station_area like", value, "stationArea");
            return (Criteria) this;
        }

        public Criteria andStationAreaNotLike(String value) {
            addCriterion("station_area not like", value, "stationArea");
            return (Criteria) this;
        }

        public Criteria andStationAreaIn(List<String> values) {
            addCriterion("station_area in", values, "stationArea");
            return (Criteria) this;
        }

        public Criteria andStationAreaNotIn(List<String> values) {
            addCriterion("station_area not in", values, "stationArea");
            return (Criteria) this;
        }

        public Criteria andStationAreaBetween(String value1, String value2) {
            addCriterion("station_area between", value1, value2, "stationArea");
            return (Criteria) this;
        }

        public Criteria andStationAreaNotBetween(String value1, String value2) {
            addCriterion("station_area not between", value1, value2, "stationArea");
            return (Criteria) this;
        }

        public Criteria andStationLocationIsNull() {
            addCriterion("station_location is null");
            return (Criteria) this;
        }

        public Criteria andStationLocationIsNotNull() {
            addCriterion("station_location is not null");
            return (Criteria) this;
        }

        public Criteria andStationLocationEqualTo(String value) {
            addCriterion("station_location =", value, "stationLocation");
            return (Criteria) this;
        }

        public Criteria andStationLocationNotEqualTo(String value) {
            addCriterion("station_location <>", value, "stationLocation");
            return (Criteria) this;
        }

        public Criteria andStationLocationGreaterThan(String value) {
            addCriterion("station_location >", value, "stationLocation");
            return (Criteria) this;
        }

        public Criteria andStationLocationGreaterThanOrEqualTo(String value) {
            addCriterion("station_location >=", value, "stationLocation");
            return (Criteria) this;
        }

        public Criteria andStationLocationLessThan(String value) {
            addCriterion("station_location <", value, "stationLocation");
            return (Criteria) this;
        }

        public Criteria andStationLocationLessThanOrEqualTo(String value) {
            addCriterion("station_location <=", value, "stationLocation");
            return (Criteria) this;
        }

        public Criteria andStationLocationLike(String value) {
            addCriterion("station_location like", value, "stationLocation");
            return (Criteria) this;
        }

        public Criteria andStationLocationNotLike(String value) {
            addCriterion("station_location not like", value, "stationLocation");
            return (Criteria) this;
        }

        public Criteria andStationLocationIn(List<String> values) {
            addCriterion("station_location in", values, "stationLocation");
            return (Criteria) this;
        }

        public Criteria andStationLocationNotIn(List<String> values) {
            addCriterion("station_location not in", values, "stationLocation");
            return (Criteria) this;
        }

        public Criteria andStationLocationBetween(String value1, String value2) {
            addCriterion("station_location between", value1, value2, "stationLocation");
            return (Criteria) this;
        }

        public Criteria andStationLocationNotBetween(String value1, String value2) {
            addCriterion("station_location not between", value1, value2, "stationLocation");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}